package com.ruantong.dingtalk.ding.util;

import org.springframework.lang.NonNull;

/**
 * @author jh.cjh
 * @description:检查request入参合法性
 * @date 2020-11-17
 */
public class PreCheckRequest {

    /**
     * 比较数值大小
     *
     * @Param: [source, target] source你的值，target你要比较的数值
     * @Return: boolean
     */
    public static boolean isGreaterThan(@NonNull Long source, @NonNull Long target) {
        return -1 != Long.compare(source, target);
    }

}